package org.sn.jdish.interview.dmall.payment.impl;

import org.sn.jdish.interview.dmall.payment.IpaymentStrategy;

public class YinlianPaymentStrategy implements IpaymentStrategy {

	private static YinlianPaymentStrategy yinlianPaymentStrategy;

	private YinlianPaymentStrategy() {

	}

	public static YinlianPaymentStrategy getInstance() {
		if (null == yinlianPaymentStrategy) {
			yinlianPaymentStrategy = new YinlianPaymentStrategy();
		}
		return yinlianPaymentStrategy;
	}

	@Override
	public boolean pay(int userId, int fee) {
		System.out.println("YinlianPayment");
		return false;
	}

}
